import request from '@/utils/system/request'
export function getStudentAccountDataApi(data: object) {
  return request({
    url: '/superuser/getStudentAccounts',
    method: 'post',
    data
  })
}
// 批量更新学生账号信息
export function updateStudentAccountsApi(data: object) {
  return request({
    url: '/superuser/updateStudentAccounts',
    method: 'post',
    data
  })
}
// 删除学生账号
export function deleteStudentAccountsApi(data: object) {
  return request({
    url: '/superuser/deleteStudentAccounts',
    method: 'post',
    data
  })
}
// 添加教师账号
export function addStudentAccountApi(data: object) {
  return request({
    url: '/superuser/addStudentAccount',
    method: 'post',
    data
  })
}
export function getTeacherAccountsApi(data: object) {
  return request({
    url: '/superuser/getTeacherAccounts',
    method: 'post',
    data
  })
}
// 批量更新教师账号信息
export function updateTeacherAccountsApi(data: object) {
  return request({
    url: '/superuser/updateTeacherAccounts',
    method: 'post',
    data
  })
}
// 删除教师账号
export function deleteTeacherAccountsApi(data: object) {
  return request({
    url: '/superuser/deleteTeacherAccounts',
    method: 'post',
    data
  })
}
// 添加教师账号
export function addTeacherAccountApi(data: object) {
  return request({
    url: '/superuser/addTeacherAccount',
    method: 'post',
    data
  })
}
// 批量添加学生账号
export function ImportStudentsFromExcelApi(data: object) {
  return request({
    url: '/superuser/ImportStudentsFromExcel',
    method: 'post',
    data
  })
}
// 批量添加教师账号
export function ImportTeachersFromExcelApi(data: object) {
  return request({
    url: '/superuser/ImportTeachersFromExcel',
    method: 'post',
    data
  })
}
